<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <link href="/css/style.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/css/grid.css" media="screen" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="/layui/css/layui.css">

    <script src="/js/jquery-1.7.2.min.js"></script>
    <script src="/js/html5.js"></script>
    <script src="/js/jflow.plus.js"></script>
    <script src="/js/jquery.carouFredSel-5.2.2-packed.js"></script>
    <script src="/js/checkbox.js"></script>
    <script src="/js/radio.js"></script>
    <script src="/js/selectBox.js"></script>
    <script src="/js/publicLike.js"></script>
</head>
<body>

<div class="row">

<div class="container">
<div  class="layui-col-md4" th:each="good:${goodlist}">
    <div class="grid_3 product">
        <div class="prev">
            <a href="javascript:void(0);" class="getByGoodsId" th:alt="${good.gid}"><img th:src="${good.gimage}" alt="" title="" /></a>
        </div><!-- .prev -->
        <h3 class="title" th:text="${good.gname}"></h3>
        <div class="cart">
            <div class="price">
                <div class="vert">
                    <div class="price_new" th:text="￥+${good.price}">￥550.00</div>
                    <div class="price_old" th:text="￥+${good.price}">￥725.00</div>
                </div>
            </div>
            <a href="#" class="obn"></a>
            <a href="#" class="like"></a>
            <a href="#" class="bay"></a>
        </div><!-- .cart -->
    </div><!-- .grid_3 -->

    <div class="clear"></div>

</div>
</div>

<div class="container">
<div class="pagination">
    <ul>
        <li class="prev"><a th:style="${cur==1} ? 'pointer-events:none':''" href="javascript:void(0)" th:onclick="|localDate(${pre})|">&#8592;上一页</a></li>
        <li class="next"><a th:style="${cur==last} ? 'pointer-events:none':''" href="javascript:void(0)" th:onclick="|localDate(${next})|">下一页&#8594;</a></li>
    </ul>
</div><!-- .pagination -->
</div>

</div>
</body>
</html>